﻿<%@ Control language="C#" Inherits="Product.ViewProduct" CodeFile="SearchProduct.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_TreeViewAdv" TagPrefix="uc3" %>
<%@ Register Src="../../controls/tm_productList.ascx" TagName="tm_productList" TagPrefix="uc2" %>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc1" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>


 <asp:Panel ID="pnlSearchResult" runat="server">
        <table width="100%" >
            <tr>
                <td>
                    <uc2:tm_productList ID="searchProductList" runat="server" EnableViewState="true"/>
                </td>
            </tr>
        </table>
                <asp:Label ID="lblNotice" runat="server" CssClass="titletext2"></asp:Label></asp:Panel>
<table width="100%">
    <tr>
        <td class="table" colspan="3">
            &nbsp;</td>
    </tr>
    <tr>
        <td width="20%">
        </td>
        <td style="width: 15%">
        </td>
        <td>
            <asp:LinkButton ID="btnchaoBanHetHan" runat="server" OnClick="btnchaoBanHetHan_Click"
                   > </asp:LinkButton>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <asp:LinkButton ID="btnChaoBanMoiDang" runat="server" OnClick="btnChaoBanMoiDang_Click" ></asp:LinkButton></td>
    </tr>
    <tr>
        <td style="width: 100px">
            &nbsp;</td>
        <td style="width: 100px">
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                <asp:Label ID="Label3" runat="server" CssClass="titletext3"   Text="Thời gian :"></asp:Label></td>
        <td>
                <asp:TextBox ID="txtFrDate" runat="server" MaxLength="10" Width="80px"></asp:TextBox><asp:HyperLink ID="hplTuNgay" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink><asp:TextBox ID="txtToDate" runat="server" MaxLength="10" Width="80px"></asp:TextBox><asp:HyperLink ID="hplDenNgay" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
               
                    <asp:Label ID="Label2" runat="server" CssClass="titletext3"   Text="Tên sản phẩm :"></asp:Label></td>
        <td>
                <asp:TextBox ID="txtProductName" runat="server" MaxLength="255" Width="193px"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                
                    <asp:Label ID="Label1" runat="server" CssClass="titletext3"   Text="Mô tả :"></asp:Label></td>
        <td>
                <asp:TextBox ID="txtProductDesc" runat="server" MaxLength="255" Width="190px"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td>
                <asp:CheckBox ID="chkFindEachWord" runat="server" Text="Tìm từng từ" /></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                <asp:Label ID="Label5" runat="server" CssClass="titletext3"   Text="Mã sản phẩm :"></asp:Label></td>
        <td>
                <asp:TextBox ID="txtProductCode" runat="server" MaxLength="255" Width="150px"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                <asp:Label ID="lblSeller" runat="server" CssClass="titletext3"   Text="Tài khoản :"></asp:Label></td>
        <td>
                <asp:TextBox ID="txtSeller" runat="server" MaxLength="255" Width="150px"></asp:TextBox></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                <asp:Label ID="lblProductStatus" runat="server" CssClass="titletext3"   Text="Trạng thái :"></asp:Label></td>
        <td>
                <asp:DropDownList
                    ID="cbProductStat" runat="server">
                </asp:DropDownList>
                <asp:CheckBox ID="cbxExpire" runat="server" Text="Hết hạn" /></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
                <asp:Label ID="Label11" runat="server" CssClass="titletext3"   Text="Thuộc nhóm :"></asp:Label></td>
        <td>
                <asp:DropDownList
                    ID="cbProductType" runat="server">
                </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td>
                <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Tìm"
                    ValidationGroup="a"   Width="80px" CssClass="btn" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="Làm lại"
                    ValidationGroup="a"   Width="80px" CssClass="btn" /></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 100px">
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td colspan="2">
                <asp:LinkButton ID="btnProductCat" runat="server" OnClick="btnProductCat_Click">Bảng phân loại</asp:LinkButton></td>
    </tr>
    <tr>
        <td>
        </td>
        <td colspan="2">
                <uc3:tm_TreeViewAdv ID="tvProductCat" runat="server" Visible="false" myWidth="650" myHeight="200" />
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td colspan="2">
                <asp:LinkButton ID="btnApplyCode" runat="server" OnClick="btnApplyCode_Click">Lĩnh vực áp dụng </asp:LinkButton></td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td colspan="2">
                <uc3:tm_TreeViewAdv ID="tvApplyCode" runat="server" Visible="false" myWidth="650" myHeight="300" />
        </td>
    </tr>
</table>
<asp:SqlDataSource ID="dsResultSearch" runat="server"></asp:SqlDataSource>
                <asp:Label ID="lblDebugMessage" runat="server"></asp:Label>

 
